find_package( Qt4 4.5
    COMPONENTS
        QtCore
        QtNetwork
        QtXml
    REQUIRED
)
include( ${QT_USE_FILE} )

set( SOURCES
    DirComponent.cpp
)

set( HEADERS
    DirComponent.h
)

qt4_automoc(
    ${SOURCES}
)

qt4_wrap_cpp( HEADERS_COMPILED
    ${HEADERS}
)

add_executable( dir-component
    ${SOURCES}
    ${HEADERS_COMPILED}
)

target_link_libraries( dir-component
    ${QT_LIBRARIES}
    romashka # romashka-library
)
